package com.guigu.mapper;

import com.cjj.vo.TNumberVo;
import com.guigu.pojo.TMember;
import com.lc.vo.Tmenberview;

import java.util.List;

public interface TMemberMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(TMember record);

    int insertSelective(TMember record);

    TMember selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TMember record);

    int updateByPrimaryKey(TMember record);

    List<Tmenberview> selectmenberpage(Tmenberview tmenberview);

    void inserttmenber(Tmenberview tmenberview);

    int querymaxtmemberbyid();

    void updatetmenber(Tmenberview tmenberview);

    List<TMember> seachmembername(String name);

    TMember seachmembername1(String name);


//    查询是否有预约
    TMember querySubscribe(String fileName);
    //查询会员
    TMember queryTMember(String tMemberId);

    List<TMember> selectmemberformnameandidcard(String n);

    int querydayaddmember(String date);

    int querymembersum();


    List<TNumberVo> queryTInterposeScheme(TNumberVo condition);
//查找被干预人
    List<TMember> queryInterferedPerson();

}